/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: DickYang
 * Date: 2023-05-06
 * Time: 17:55
 */

//组合设计思想
class Students {

}
class Teachaers {

}
class School {
    public Students[] students = new Students[3];
    public Teachaers[] teachaers = new Teachaers[3];
}
public class TestDome2 {
    public static void main(String[] args) {
        School school = new School();
        System.out.println(school.students[0]);
        System.out.println(school.teachaers[0]);
    }
}
